import request from '@/utils/request'


//所有会员信息查询
export const getMemberList =() =>
  request({
    url:"/memberinfo",
    method:"get"
  })

//对会员状态进行修改
export const deletemember=(member)=>
 request({
   url:"/deletemember",
   method:"post",
   data: member

 })
//修改会员档案
 export const updatemember=(member)=>
  request({
    url:"/updatmember",
    method:"post",
    data: member

  })

 //添加会员
 export const addMember=(member)=>
  request({
    url:"/insertmember",
    method:"post",
    data:member
  })

  //档案上传查询
  export const getExamination=()=>
    request({
      url:"/getAllExamination",
      method:"get"
    })

//上传
export const addDynamicinfo=(dynamicinfo)=>
    request({
        url:"insertDynamicinfoByid",
        method:"post",
        data:dynamicinfo
    })
//查看档案
export const queryDynamicinfo=(id)=>
    request({
      url:"queryDynamicinfoByid",
      method:"post",
      params:{
        id:id
      }
    })


export const getDynamicinfo=(id)=>
  request({
    url:"queryDynamicinfo",
    method:"post",
    params:{
      id:id
    }
  })


export const updateDynamicinfo=(dynamicinfo)=>
  request({
      url:"updateDynamicinfo",
      method:"post",
      data:dynamicinfo
  })


export const updateDynamicinfoever=(dynamicinfo)=>
request({
  url:"updateDynamicinfoever",
  method:"post",
  data:dynamicinfo
})


